package top.bingoz.wanandroid.common

import android.view.View
import android.widget.Toast
import top.bingoz.wanandroid.BuildConfig

/**
 * @author su
 * @date 2018/7/26
 * @description
 */
object Constants {
    val TOKEN = "token"

    object URL {
        val SERVER = "http://www.wanandroid.com"
        val AVATAR = SERVER + "/resources/image/pc/logo.png"
    }

    object App {
        var VIEW: View? = null
        var TOAST: Toast? = null
    }

    object Prefix {
        val BING = "https://www.bing.com"
        val SEPARATOR = "/"
        val RESOURCE = "android.resource://" + BuildConfig.APPLICATION_ID
        val DRAWABLE = "$RESOURCE/drawable/"
        val RAW = "$RESOURCE/raw/"
    }

}
